package org.shoukaiseki.common.utils;

import javax.validation.constraints.NotNull;
import java.util.concurrent.SynchronousQueue;

/**
 * 同步触发
 * com.ruoyi.project.relation.domain.SyncActionAO
 * <br>
 *
 * @author shoukaiseki ブログ http://www.shoukaiseki.top/<br> E-メール jiang28555@Gmail.com<br>
 * @date 2021-05-13 23:49:51<br>
 */
public class SyncActionRequest {

    //别名
    private String aliasName="mainSA";


    @NotNull(message = "ownerName 不能为空")
    private String ownerName;

    @NotNull(message = "beanName 不能为空")
    private String beanName;

    @NotNull
    private Object domain;

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
        if(this.aliasName==null&&beanName!=null){
            this.aliasName=beanName;
        }
    }


    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }


    public Object getDomain() {
        return domain;
    }

    public void setDomain(Object domain) {
        this.domain = domain;
    }
}
